<?php
include "../vendor/autoload.php";

use Zlf\Poster\Poster;

$poster = new Poster('https://pics5.baidu.com/feed/6159252dd42a2834b3ecad5c4974c5e714cebf69.jpeg@f_auto?token=3e40245272324d252570a5d3c7d0efa1');

$poster->text('张三', 30, 100, 100);


$poster->output();//输出图片base64